package com.itheima.Student.entry;

import com.itheima.Student.controller.StudentController;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

import java.util.Scanner;

public class StudentTest {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        while (true){
            System.out.println("========欢迎来到黑马管理系统========");
            System.out.println("1.学生管理系统");
            System.out.println("2.老师管理系统");
            System.out.println("3.退出");
            System.out.println("请选择：");
            String choice = sc.next();
            switch (choice){
                case "1":
                    StudentController stc = new StudentController();
                    stc.start();
                    break;
                case "2":
                    System.out.println("老师管理系统");
                    break;
                case "3":
                    System.exit(0);
                    break;
                default:
                    System.out.println("您的输入有误，请重新输入！");
            }
        }
    }
}
